home *** CD-ROM | disk | FTP | other *** search
/ Freelog 70 / Freelog070.iso / Internet / EasyPHP / easyphp1-8_setup.exe / {app} / home / licence_pear.php < prev    next >
Encoding:
PHP Script  |  2003-03-17  |  3.2 KB  |  85 lines

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <html>
  3. <head>
  4. <title>[EasyPHP] - Administration</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  6. <link rel="stylesheet" href="styles.css" type="text/css">
  7. </head>
  8. <body>
  9. <?php
  10. $titre = "licence_pear";
  11. function bouton($word){
  12.     $lenght=strlen($word);
  13.     $start = 0;
  14.     print("<table border='0' cellspacing='0' cellpadding='0'>");
  15.     print("<tr><td><img src='images_easyphp/bouton_gauche.gif' width='4' height='26'></td><td background='images_easyphp/bouton_fond.gif'>"); 
  16.     while($start<$lenght){
  17.         $car=substr($word,$start,1);
  18.         print("<img src='images_easyphp/lettre_".$car.".gif' border='0'>");
  19.         $start++;
  20.     } 
  21.     print("</td><td><img src='images_easyphp/bouton_droit.gif' width='4' height='26'></td></tr></table>");
  22. }
  23. ?>
  24.  
  25. <table width="400" cellspacing="0" cellpadding="0" border="0" align="center">
  26.   <tr>
  27. <td>
  28. <a href="index.php"><img src="images_easyphp/titre_easyphp_admin.gif" width="387" height="116" border="0"></a>
  29. </td>
  30. </tr>
  31. <tr>
  32. <td>
  33. <?php bouton($titre) ?>
  34. </td>
  35. </tr>
  36. <tr>
  37. <td class="text2"> Les informations ci-dessous sont donnΘes α titre indicatif. Consultez le site officiel (<a href="http://pear.php.net/" target="_blank" class="text1">PEAR</a>) pour toute information lΘgale. </td>
  38. </tr>
  39. </table>
  40.  
  41. <br><br>
  42.  
  43. <table border="0" align="center" cellpadding="0" cellspacing="0">
  44. <tr>
  45. <td class="text1">
  46. <pre>
  47. What licenses are allowed in PEAR/PECL?
  48. Answer written by Jan Lehnardt, Tomas V.V. Cox and Rasmus Lerdorf. 
  49.  
  50. To make it short: Any Open Source/Free Software License. See the
  51. OSI Approved Licenses (http://www.opensource.org/licenses/index.html)
  52. for a summary of Open Source licenses and FSF Approved Licenses
  53. (http://www.gnu.org/licenses/license-list.html). Pick one that
  54. appears on both lists.
  55. It does not need to be a GPL-compatible license from the FSF list.
  56. Here are a subset of the licenses that are on both lists: Apache License,
  57. Artistic license, BSD license, Common Public License, GPL,
  58. IBM Public License, Intel Open Source License, Jabber Open Source License,
  59. LGPL, MIT license, Mozilla Public License, PHP License, Python license,
  60. Python Software Foundation License, QPL, Sleepycat License,
  61. Sun Industry Standards Source License (SISSL), Sun Public License,
  62. W3C license, zlib/libpng license, Zope Public license. 
  63.  
  64. The recomended licenses are PHP (http://de.php.net/license/2_02.txt),
  65. LGPL (http://www.fsf.org/licenses/lgpl.txt) and BSD
  66. (http://www.opensource.org/licenses/bsd-license.html)style. 
  67.  
  68. Note that for PECL extensions that are linked into PHP, the license must
  69. be compatible with the PHP license. That means you can not GPL a PECL
  70. extension or you would be violating the GPL. Note also that if you write
  71. an extension that links against a GPL'ed library you will be violating
  72. the GPL. If you need to link against a GPL'ed library, get permission
  73. from the author of the library. 
  74.  
  75. To set the license of you PEAR/PECL package, put it in the head of all
  76. source code files of your package and also the type of it inside the
  77. <license> tag of your package description file (package.xml). 
  78. </pre>
  79. </td>
  80. </tr>
  81. </table>
  82.  
  83. </body>
  84. </html>
  85.